/* Global Styles Supplementing Tailwind */
body {
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
    background-attachment: fixed;
}

.fade-in { 
    animation: fadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1); 
}

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(20px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e0; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #a0aec0; }

/* Sidebar Edital */
#edital-sidebar {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden by default */
    width: 100%;
    max-width: 450px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: -5px 0 25px rgba(0,0,0,0.1);
    z-index: 100;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

#edital-sidebar.open {
    right: 0;
}

#edital-content {
    overflow-y: auto;
    flex: 1;
    padding: 20px;
    scroll-behavior: smooth;
    font-size: 0.9rem;
    line-height: 1.6;
}

.edital-highlight {
    background-color: #fef3c7;
    font-weight: bold;
    color: #d97706;
}

.edital-topic-number {
    display: block;
    margin-top: 12px;
    font-weight: 700;
    color: #2563eb;
}

.edital-header {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e293b;
    margin-top: 24px;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 2px solid #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
